package com.dmw.vo.homePageVO.PageVO;

import java.io.Serializable;

/**
 * Children数组-子分类数组（子分类格式同父分类格式）
 */
public class Children implements Serializable {
    private Integer id;//分类主键
    private String itemType;//分类名称
    private Integer level;//分类级别(1:一级分类,2:二级分类)
    private Integer parent;//父级分类Id(一级分类的父级Id为0)
    private String aliasName;//分类别名(用于横向导航)

    @Override
    public String toString() {
        return "Children{" +
                "id=" + id +
                ", itemType='" + itemType + '\'' +
                ", level=" + level +
                ", parent=" + parent +
                ", aliasName='" + aliasName + '\'' +
                '}';
    }

    public Children(Integer id, String itemType, Integer level, Integer parent, String aliasName) {
        this.id = id;
        this.itemType = itemType;
        this.level = level;
        this.parent = parent;
        this.aliasName = aliasName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getParent() {
        return parent;
    }

    public void setParent(Integer parent) {
        this.parent = parent;
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }
}
